/*Que 2:
 * This is thread class.
 */

/**
 *
 * @author savan
 */
public class P2_T implements Runnable {
    int i;
    public void run() {
        for(i=0;i<=10;i++)
        {
            System.out.print(Thread.currentThread());
            System.out.println(i);
        }
    }

}
